<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }

        .main>div {
            float: left;
        }

        .container {
            width: 100%;
        }

        .content {
            height: 200px;
            background-color: red;
            width: 100%;
            margin-left: 200px;
            margin-right: 200px;
        }

        .left {
            width: 200px;
            height: 200px;
            background-color: pink;
            margin-left: -100%;

        }

        .right {
            width: 200px;
            height: 200px;
            background-color: blue;
            margin-left: -200px;

        }
    </style>
</head>

<body>
    <!-- 双飞翼布局 -->
    <div class="main">

        <div class="container">
            <div class="content">中间</div>
        </div>
        <div class="left">左边</div>
        <div class="right">右边</div>
    </div>
</body>

</html>